package com.buaa.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class MapUpdateDTO {
    @NotNull(message = "请选择省市区")
    private Integer id;
    @NotBlank(message = "请填写名称")
    private String name;
    @NotNull(message = "请填写adcode")
    private Integer adcode;
    @NotBlank(message = "请上传geo数据")
    private String geo;
    @NotBlank(message = "请填写地区拼音")
    private String pinyin;
}
